//
// Created by yuping.li on 10/17/24.
//

#ifndef TIME_INIT_TASK_HPP_
#define TIME_INIT_TASK_HPP_

#include "task.hpp"
#include "platform/time.hpp"


class TimeInitTask : public Task {
public:
  void init_task() override {
    Time::instance().init(&hrtc, &htim6);
  }
};

#endif //TIME_INIT_TASK_HPP_
